<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>${entry.topic }</title>

</head>

<body>


  

        <table border="1" cellpadding="10" cellspacing="0">

            <tr>

                <th>id</th>

                <th>标题</th>

                <th>详细信息</th>

                <th>创建者</th>

                <th>搜索次数</th>

               

                <th>创建日期</th>
                 <th>最后修改日期</th>
                <th>词条标签</th>

            </tr>

             


                <tr>

                    <td>${entry.id }</td>

                    <td>${entry.topic }</td>

                    <td>${entry.information }</td>

                    <td>${entry.author }</td>

                    <td>${entry.search_times }</td>
					<td>${entry.start_time }</td>
					<td>${entry.last_time }</td>
					
					<td>${entry.tag }</td>
	
    
                </tr>
		

        </table>
        <h6>相关文件列表</h6>

        <c:if test="${!empty requestScope.file }">
        <c:forEach items="${requestScope.file }" var="fl">
        <a href="/baike/DownloadServlet?file_id=${fl.id }">${fl.name }  下载次数：${fl.download_times }</a>
        <br>
        </c:forEach>
        </c:if>
        <br>
        <form action="/baike/changeEntryDetail/${entry.id}">
        <input type="submit" value="修改" >
        </form>
		<form action="/baike/uploadFile/${entry.id }">
		<input type="submit" value="上传文件">
		
		</form>

    <br><br>

</body>

</html>